package cn.edu.gzhu.workOrderManagement.pojo.dto.organization;

import cn.edu.gzhu.workOrderManagement.constants.MessageConstant;
import cn.edu.gzhu.workOrderManagement.constants.RegexConstant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrganizationUpdateDto {
    @NotBlank
    private String name;

    @Min(1)
    private Integer capacity;

    private Boolean isAvailable;


}
